//引入mysql模块
const mysql = require('mysql');

//连接数据库
const pool = mysql.createPool({
    host:'localhost',
    port:3306,
    user:'root',
    password:'',
    database:'sennheiser',
    charset:'utf8',
    connectionLimit:10,
});

//导出对象
module.exports = pool;